Mongoose = require 'mongoose'
Schema = Mongoose.Schema

Article = new Schema
  title : 
    type : String
    trim : true
    index : true
    required : true
  content : []
  createTime : 
    type : Date
    default : Date.now
    
module.exports = Article